package com.sc.nft.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sc.nft.enums.ApprovalStatusEnum;
import com.sc.nft.enums.WalletChannelEnum;
import com.sc.nft.enums.wallet.DaoWalletTypeEnum;
import com.sc.nft.sup.SuperEntity;
import java.math.BigDecimal;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * dao钱包明细表(sc_dao_wallet_detail)实体类
 *
 * @author zxy
 * @since 2023-12-16 19:17:50
 * @description 由 Mybatisplus Code Generator 创建
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("sc_dao_wallet_detail")
public class DaoWalletDetail extends SuperEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * daoId
     */
    private Long daoId;
    /**
     * 源Id
     */
    private Long sourceId;

    /**
     * 增加操作
     */
    private Boolean isAdd;
    /**
     * 金额
     */
    private BigDecimal amount;
    /**
     * 手续费
     */
    private BigDecimal charge;
    /**
     * 实际金额
     */
    private BigDecimal realAmount;
    /**
     * 操作前余额
     */
    private BigDecimal beforeAmount;
    /**
     * 操作后余额
     */
    private BigDecimal afterAmount;
    /**
     * 操作类型
     */
    private DaoWalletTypeEnum type;

    /**
     * 操作备注
     */
    private String remark;

}